package com.xpsoft.oa.model.produce;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.project.Project;
import com.xpsoft.oa.model.system.AppUser;

/**
 * ArticleReg Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class ArticleReg extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected Project project;
	@Expose
	protected AppUser managerUser;
	@Expose
	protected String constructionUnit;
	@Expose
	protected String supervisionUnit;
	@Expose
	protected String articleType;


	/**
	 * Default Empty Constructor for class ArticleReg
	 */
	public ArticleReg () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class ArticleReg
	 */
	public ArticleReg (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	public AppUser getManagerUser() {
		return managerUser;
	}

	public void setManagerUser(AppUser managerUser) {
		this.managerUser = managerUser;
	}

	/**
	 * 建设单位	 * @return String
	 * @hibernate.property column="constructionUnit" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getConstructionUnit() {
		return this.constructionUnit;
	}
	
	/**
	 * Set the constructionUnit
	 */	
	public void setConstructionUnit(String aValue) {
		this.constructionUnit = aValue;
	}	

	/**
	 * 监理单位	 * @return String
	 * @hibernate.property column="supervisionUnit" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getSupervisionUnit() {
		return this.supervisionUnit;
	}
	
	/**
	 * Set the supervisionUnit
	 */	
	public void setSupervisionUnit(String aValue) {
		this.supervisionUnit = aValue;
	}	

	/**
	 * 类型	 * @return String
	 * @hibernate.property column="articleType" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getArticleType() {
		return this.articleType;
	}
	
	/**
	 * Set the articleType
	 */	
	public void setArticleType(String aValue) {
		this.articleType = aValue;
	}	

}
